<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title>点巡检任务设定</title>
    <%@ include file="/page/comPage/comCSS.html"%>
    <%@ include file="/page/comPage/navbar.html"%>
    <style type="text/css">
    	.bootstrap-datetimepicker-widget {
    		z-index : 10000000;
    	}
    </style>
</head>
<body>
	<div class="container-fluid">
	    <div class="col-sm-12 btnDivCss">
	        <button class="btn btn-info" id="query_btn"><s:message code="QUERY_TAG" /></button>
			<button class="btn btn-primary" id="add_btn"><s:message code="ADD_TAG" /></button>
			<button class="btn btn-primary" id="import_btn">EXCEL<s:message code="IMPORT_TAG" /></button>
			<button class="btn btn btn-warning" id="download_btn">EXCEL<s:message code="IMPORT_STENCIL"/></button>
			<button class="btn btn-info" id="save_btn">保存导入计划</button>
			<input id="select_btn"  type="file" class="form-control  file" accept=".xls,.xlsx" style="display: none" />
			<%--<button class="btn btn-primary" id="import_btn">EXCEL<s:message code="IMPORT_TAG" /></button>--%>
			<%--&lt;%&ndash;<button class="btn btn-warning" id="export_btn">EXCEL<s:message code="EXPORT_TAG" /></button>&ndash;%&gt;--%>
			<%--<button class="btn btn btn-warning" id="download_btn">EXCEL<s:message code="IMPORT_STENCIL"/></button>--%>
			<%--<button class="btn btn-info" id="save_btn">保存导入任务</button>--%>
	    </div>
	    <div class="col-sm-4" id="leftDiv">
		    <fieldset>
                <legend><s:message code="QUERY_CONDITION_TAG" /></legend>
            </fieldset>
	        <form  class="form-horizontal">
	            <div class="form-group">
					<label class="control-label col-sm-4" for="from_date">
						点巡检开始时间
					</label>
					<div class="col-sm-6">
						<input type="text" id="from_date" class="form-control" />
					</div>
	            </div>
	            <div class="form-group">
					<label class="control-label col-sm-4" for="to_date">
						点巡检开始结束时间
					</label>
					<div class="col-sm-6">
						<input type="text" id="to_date" class="form-control" />
					</div>
	            </div>
	            <div class="form-group">
					<label class="control-label col-sm-4" for="insTypeSel">
						点巡检类型
					</label>
					<div class="col-sm-6">
						<select id="insTypeSel" class="form-control" style="width: 100%"></select>
					</div>
	            </div>

				<%--<div class="form-group">--%>
					<%--<label class="control-label col-sm-4" for="evt_seq_id">--%>
						<%--任务ID--%>
					<%--</label>--%>
					<%--<div class="col-sm-6">--%>
						<%--<input type="text" id="evt_seq_id" class="form-control" />--%>
					<%--</div>--%>
				<%--</div>--%>


	        </form>
		</div>
		<div class="col-sm-8" id="divTop">
		    <fieldset>
                <legend>点巡检任务列表</legend>
            </fieldset>
			<div id="insSetListDiv">
				<table id="insSetListGrd" style="height: 1px;"></table>
				<div id="insSetListPg"></div>
			</div>
		</div>
	</div>

	<!-- 保养计划新增&修改 Dialog -->
	<div id="INSPlanDialog" class="modal fade" role="dialog" aria-labelledby="title" aria-hidden="true">
		<div id="INSPlanModal" class="modal-dialog" style="width:85%">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h3 class="modal-title">
						<span id="INSPlanDialog_titleTxt" class="help-inline"></span>
                       </h3>
				</div>
				<!--Modal header-->
				<div class="modal-body">
					<form id="INSPlanDialog_dataCateForm" class="form-horizontal row">
						<span id="INSPlanDialog_insSeqIdSpan" hidden></span>

						<%--<div class="col-sm-3">--%>
							<%--<label class="control-label col-sm-4" for="task_idDialog">--%>
								<%--任务ID--%>
							<%--</label>--%>
							<%--<div class="col-sm-8">--%>
								<%--<input type="text" id="task_idDialog" class="form-control" />--%>
							<%--</div>--%>
						<%--</div>--%>

						<div class="col-sm-3" id="nowInsDate">
							<label class="control-label col-sm-4" for="INSPlanDialog_insDateDatepicker">
								当前点巡检任务开始日期
							</label>
							<div class="col-sm-8">
								<input id="INSPlanDialog_insDateDatepicker"   type="text" class="form-control" disabled/>
							</div>
						</div>

						<div class="col-sm-3" id="endInsDate">
							<label class="control-label col-sm-4" for="INSPlanDialog_insEndDateDatepicker">
								当前点巡检任务结束日期
							</label>
							<div class="col-sm-8">
								<input id="INSPlanDialog_insEndDateDatepicker"   type="text" class="form-control" disabled/>
							</div>
						</div>


						<div class="col-sm-3">
							<label class="control-label col-sm-4" for="insUpdateDate">
								点巡检任务计划开始日期
							</label>
							<div class="col-sm-8">
									<input id="insUpdateDate"  type="text" class="form-control">
							</div>
						</div>

						<div class="col-sm-3">
							<label class="control-label col-sm-4" for="insEndDate">
								点巡检任务计划结束日期
							</label>
							<div class="col-sm-8">
									<input id="insEndDate" type="text" class="form-control">
							</div>
						</div>


						<div class="col-sm-3">
							<label class="control-label col-sm-4" for="ins_typeDialog">
								点巡检类别
							</label>
							<div class="col-sm-8">
								<select id="ins_typeDialog" class="form-control"></select>
							</div>
						</div>


						<div class="col-sm-3">
							<label class="control-label col-sm-4" for="ins_routeDialog">
								巡检路线
							</label>
							<div class="col-sm-8">
								<select id="ins_routeDialog" class="form-control"></select>
							</div>
						</div>
					</form>
				</div>
				<!--Modal body-->
				<div class="modal-footer">
					<a id="INSPlanDialog_cancelBtn" class="btn" data-dismiss="modal"> <s:message code="CANCEL_TAG" /></a>
					<a id="INSPlanDialog_saveBtn" class="btn btn-primary"> <s:message code="SAVE_TAG" /></a>
					<a id="INSPlanDialog_deleteBtn" class="btn btn-danger"> <s:message code="DELETE_TAG" /></a>
				</div>
				<!--Modal footer-->
			</div>
		</div>
	</div>
	
	<!-- 保养项目新增&修改 Dialog -->
	<%--<div id="PMItemDialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="title" aria-hidden="true">--%>
		<%--<div class="modal-dialog">--%>
			<%--<div class="modal-content">--%>
				<%--<div class="modal-header">--%>
					<%--<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>--%>
					<%--<h3 class="modal-title">--%>
						<%--<span id="PMItemDialog_titleTxt" class="help-inline"></span>--%>
                       <%--</h3>--%>
				<%--</div>--%>
				<%--<!--Modal header-->--%>
				<%--<div class="modal-body">--%>
					<%--<form id="PMItemDialog_dataCateForm" class="form-horizontal row">--%>
						<%--<label class="control-label col-sm-4 keyClass" for="PMItemDialog_pmTypeTxt">--%>
							<%--<s:message code="PM_TYPE_TAG" />--%>
						<%--</label>--%>
						<%--<div class="col-sm-6">--%>
							<%--<input type="text" id="PMItemDialog_pmTypeTxt" class="form-control"/>--%>
						<%--</div>--%>
						<%--<label class="control-label col-sm-4 keyClass" for="PMItemDialog_dataDscTxt">--%>
							<%--<s:message code="PM_DATA_DSC_TAG" />--%>
						<%--</label>--%>
						<%--<div class="col-sm-6">--%>
							<%--<input type="text" id="PMItemDialog_dataDscTxt" class="form-control"/>--%>
						<%--</div>--%>
						<%--<label class="control-label col-sm-4" for="PMItemDialog_uSpecTxt">--%>
							<%--<s:message code="U_SPEC_TAG" />--%>
						<%--</label>--%>
						<%--<div class="col-sm-6">--%>
							<%--<input type="text" id="PMItemDialog_uSpecTxt" class="form-control numberCss"/>--%>
						<%--</div>--%>
						<%--<label class="control-label col-sm-4" for="PMItemDialog_lSpecTxt">--%>
							<%--<s:message code="L_SPEC_TAG" />--%>
						<%--</label>--%>
						<%--<div class="col-sm-6">--%>
							<%--<input type="text" id="PMItemDialog_lSpecTxt" class="form-control numberCss"/>--%>
						<%--</div>--%>
						<%--<label class="control-label col-sm-4" for="PMItemDialog_dataTypeSel">--%>
							<%--<s:message code="DATA_TYPE_TAG" />--%>
						<%--</label>--%>
						<%--<div class="col-sm-6">--%>
							<%--<select id="PMItemDialog_dataTypeSel" class="form-control">--%>
								<%--<option value="数值">数值</option>--%>
								<%--<option value="文本">文本</option>--%>
							<%--</select>--%>
						<%--</div>--%>
						<%--<label class="control-label col-sm-4" for="PMItemDialog_sampleQtyTxt">--%>
							<%--<s:message code="SAMPLE_QTY_TAG" />--%>
						<%--</label>--%>
						<%--<div class="col-sm-6">--%>
							<%--<input type="text" id="PMItemDialog_sampleQtyTxt" class="form-control"/>--%>
						<%--</div>--%>
                        <%--<label class="control-label col-sm-4 keyClass" for="PMItemDialog_toolPmNoteTxt">--%>
                            <%--<s:message code="TOOL_PM_NOTE_TAG" />--%>
                        <%--</label>--%>
                        <%--<div class="col-sm-6">--%>
                            <%--<input type="text" id="PMItemDialog_toolPmNoteTxt" class="form-control" />--%>
                        <%--</div>--%>
					<%--</form>--%>
				<%--</div>--%>
				<%--<!--Modal body-->--%>
				<%--<div class="modal-footer">--%>
					<%--<a id="PMItemDialog_cancelBtn" class="btn" data-dismiss="modal"> <s:message code="CANCEL_TAG" />--%>
					<%--</a> <a id="PMItemDialog_saveBtn" class="btn btn-primary"> <s:message code="SURE_TAG" />--%>
					<%--</a>--%>
				<%--</div>--%>
				<%--<!--Modal footer-->--%>
			<%--</div>--%>
		<%--</div>--%>
	<%--</div>--%>
	<%@ include file="/page/comPage/comJS.html"%>
	<script src="lib/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
	<script src="lib/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
	<script src="lib/laydate/laydate.js"></script>
	<script type="text/javascript" src="js/page/3000/3S20.js"></script>
	<script src="lib/fileinput/js/xlsx.full.min.js"></script>
</body>
</html>